package DaoRuDaoChu;

public class DRDC {


//  导入导出 实体代码

    /**
     * @Excel(name = "用户序号", prompt = "用户编号")
     * private Long userId;
     *
     * @Excel(name = "用户名称")
     * private String userName;
     *
     * @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
     * private String sex;
     *
     * @Excel(name = "用户头像", cellType = ColumnType.IMAGE)
     * private String avatar;
     *
     * @Excel(name = "帐号状态", dictType = "sys_normal_disable")
     * private String status;
     *
     * @Excel(name = "最后登陆时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
     * private Date loginDate;
     */



//   在 Controller 层 添加 导出方法

    /**
     * @PostMapping("/export")
     * @ResponseBody
     * public AjaxResult export(User user)
     * {
     * 	List<User> list = userService.selectUserList(user);
     * 	ExcelUtil<User> util = new ExcelUtil<User>(User.class);
     * 	return util.exportExcel(list, "用户数据");
     * }
     */


















}
